package com.springboot.demo.config;

import com.springboot.demo.util.RandomUtil;

/**
 * @Author: J.K
 * @Date: 2021-09-10 13:27
 * @Description:
 */
public class SmsConfig {
    /**
     * 用户ID
     */
    public static final String ACCOUNT_SID = "837f0008f2134b3294d31bdeeab18d36";

    /**
     * 密钥
     */
    public static final String AUTH_TOKEN = "f88e930f0b594bd8b53bb9a4dea17418";

    /**
     * 请求地址前半部分
     */
    public static final String BASE_URL = "https://api.miaodiyun.com/20150822/industrySMS/sendSMS";

    /**
     * 随机码
     */
    public static String randomNum = RandomUtil.randomNum();

    /**
     * 响应数据类型
     */
    public static final String RESP_DATA_TYPE = "json";

    /**
     * 短信内容
     */
    public static String smsContent = "[SpringBoot]您的验证码：" + randomNum + ",请于" + 2
            + "分钟内正确输入，如非本人操作，请忽略此短信";


}
